html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
}
#paper {
    border: 1px solid #E2E2E2;
    background-color: #F3F7F6;
    overflow: hidden;
    margin: 8px auto;
}
/* JointJS HTML Element */
.html-element {
    box-sizing: border-box;
    font-family: sans-serif;
    box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.18);
    padding: 8px 16px;
    background-color: #FCFCFC;
}
.html-element:after {
    content: ' ';
    background: #6C6C6C;
    height: 8px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.html-element:before {
    content: ' ';
    position: absolute;
    top: 24px;
    right: 16px;
    width: 20px;
    height: 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url();
}
.html-element[data-state="done"]:after {
    background:#4666E5;
}
.html-element[data-state="done"]:before {
    background-image: url();
}
.html-element[data-state="at-risk"]:after {
    background: #FF4365;
}
.html-element[data-state="at-risk"]:before {
    background-image: url(
    );
}
.html-element-header {
    position: relative;
    display: block;
    color: #222222;
    font-size: 18px;
    font-weight: bold;
    padding: 16px 0;
    margin-bottom: 8px;
}
.html-element-header:after {
    content: '';
    height: 1px;
    background-color: #DDDDDD;
    left: -16px;
    right: -16px;
    bottom: 0;
    position: absolute;
}
.html-element-label {
    display: block;
    font-size: 13px;
    color: #222222;
    padding: 8px 0 0 0;
}
.html-element-field {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    margin: 8px 0;
    outline: none;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    text-align: left;
    letter-spacing: 0;
    color: #222222;
    border-radius: 0px;
    font-size: 14px;
}
select.html-element-field:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: calc(100% - 8px) 50%;
    background-repeat: no-repeat;
    background-image: url();
}
select.html-element-field:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000000;
}
select.html-element-field.field-empty {
    color: #9A9A9A
}
.html-element-field::placeholder {
    color: #9A9A9A;
    opacity: 1;
}
.html-element-field:-ms-input-placeholder {
    color: #9A9A9A;
}
.html-element-field::-ms-input-placeholder {
    color: #9A9A9A
}
/* Toolbar */
.toolbar {
    position: absolute;
    width: 300px;
    left: calc(50% - 150px);
    top: 18px;
    text-align: center;
}
.toolbar-button {
    outline: none;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 16px;
    text-align: center;
    font-family: sans-serif;
    font-size: 12px;
    padding: 6px 12px;
    letter-spacing: 0.25px;
    color: #222222;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}
.toolbar-button:hover {
    background: #F7F8F9;
}

/* Bring the links above HTML elements */
/*
.joint-paper > svg {
    z-index: 2;
    pointer-events: none;
}

.joint-paper > svg .joint-link {
    pointer-events: all;
} */
